<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
      <title>GTL - Graph Template Library: node_data.h Source File</title>
      <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
  <body>
    <p class="links">  
      <a href="../index.html">Home</a> |
      Documentation |
      <a href="../register.html">Download</a> |
      <a href="../platforms.html">Platforms</a> |
      <a href="../refer.html">Projects</a> |      
      <a href="../lists.html">Mailing Lists</a> |
      <a href="../history.html">Version History</a>
    </p>

<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>node_data.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==========================================================================</span>
<a name="l00002"></a>00002 <span class="comment">//</span>
<a name="l00003"></a>00003 <span class="comment">//   node_data.h - Internal header: DO NO USE IT DIRECTLY !!!</span>
<a name="l00004"></a>00004 <span class="comment">//</span>
<a name="l00005"></a>00005 <span class="comment">//==========================================================================</span>
<a name="l00006"></a>00006 <span class="comment">// $Id: node_data.h,v 1.7 2000/01/05 16:32:38 raitner Exp $</span>
<a name="l00007"></a>00007 
<a name="l00008"></a>00008 <span class="preprocessor">#ifndef GTL_NODE_DATA_H</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define GTL_NODE_DATA_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;GTL/GTL.h&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;GTL/node.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;GTL/edge.h&gt;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;list&gt;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 __GTL_BEGIN_NAMESPACE
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">class </span><a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a>;
<a name="l00020"></a>00020 
<a name="l00024"></a>00024 <span class="keyword">class </span>GTL_EXTERN node_data
<a name="l00025"></a>00025 {
<a name="l00026"></a>00026 <span class="keyword">public</span>:
<a name="l00027"></a>00027     <span class="keywordtype">int</span> id;                     <span class="comment">// internal numbering</span>
<a name="l00028"></a>00028     <a class="code" href="a00014.html" title="A directed or undirected graph.">graph</a> *owner;               <span class="comment">// graph containing this node</span>
<a name="l00029"></a>00029     list&lt;node&gt;::iterator pos;   <span class="comment">// position in the list of all nodes</span>
<a name="l00030"></a>00030     list&lt;edge&gt; edges[2];        <span class="comment">// edges incident to this node</span>
<a name="l00031"></a>00031                                 <span class="comment">// edges[0] = in_edges, edges[1] = out_edges</span>
<a name="l00032"></a>00032     <span class="keywordtype">bool</span> hidden;
<a name="l00033"></a>00033 };
<a name="l00034"></a>00034     
<a name="l00035"></a>00035 __GTL_END_NAMESPACE
<a name="l00036"></a>00036 
<a name="l00037"></a>00037 <span class="preprocessor">#endif // GTL_NODE_DATA_H</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a>00039 <span class="comment">//--------------------------------------------------------------------------</span>
<a name="l00040"></a>00040 <span class="comment">//   end of file</span>
<a name="l00041"></a>00041 <span class="comment">//--------------------------------------------------------------------------</span>
</pre></div>    <p class="links">
      <a href="http://www.uni-passau.de/">University of Passau</a>
      &nbsp;-&nbsp;
      <a href="http://www.fmi.uni-passau.de/">FMI</a>
      &nbsp;-&nbsp;
      <a href="http://www.fmi.uni-passau.de/fmi/lehrstuehle/brandenburg/">Theoretical
	Computer Science</a>
    </p>
  <div class="copyright">
      Design &copy; 2002, 2003 <a href="mailto:raitner@fmi.uni-passau.de">Marcus Raitner</a>,  University of Passau 
  </div>
</body>
</html>
